// 排行版接口
import request from "./http";

// 获取排行版歌单
export function getToplist(){
    return request({
        url:"/toplist",
        method:"get",
    })
}

// 获取歌单详情
// /playlist/detail?id=24381616
export function getPlaylistDetail(params){
    return request({
        url:"/playlist/detail",
        method:"get",
        params
    })
}

//获取推荐MV排行榜
export function getMVRankingList(MvOption){
    return request({
        url:"/top/mv?limit=30",
        method:"get",
        params:{
            area:MvOption
        }
    })
}


////获取歌曲评论
export function getsingerComment(id){
    return request({
        url:"/comment/music",
        method:"get",
        params:{
            id:id,
        }
    })
}
